# -*- coding: utf-8 -*-
"""
Created on Wed Oct  9 23:13:31 2019

@author: XCL01
"""

file = 'a fjwejfsdflk'
print(isinstance(file , str))
file1 = list(file)#10到13行是str转化成list
print(file1, '\n', isinstance(file1 , list))
file2 = file.split()#or file.split(' ')
print(file2, '\n', isinstance(file2 , list))
file3 = ''.join(file1)#1415是list转化成str
file4 = ' '.join(file2)
if file3 == file and file4 ==file:
    print(' True')